package com.cinc.ebc.mm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cinc.ebc.mm.entity.MmStockInitDetail;
import com.cinc.ebc.mm.mapper.MmStockInitDetailMapper;
import com.cinc.ebc.mm.service.IMmStockInitDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 库存初始化明细
 * @Author: jeecg-boot
 * @Date: 2022-07-03
 * @Version: V1.0
 */
@Service
public class MmStockInitDetailServiceImpl extends ServiceImpl<MmStockInitDetailMapper, MmStockInitDetail> implements IMmStockInitDetailService {

    @Autowired
    private MmStockInitDetailMapper mmStockInitDetailMapper;

    @Override
    public List<MmStockInitDetail> selectByMainId(String mainId) {
        return mmStockInitDetailMapper.selectByMainId(mainId);
    }
}
